// 构建打单请求参数

export default (ctx, next) =>{

    let state = ctx.store['state'];
    let formStore = state['carFormStore'];
    let singleId = formStore['indiaSingle'][formStore['currentSingleType']]['serialNumber'];
    let orderId = formStore['indiaOrderInfo']['orderId'];
    let username = state['mainStore']['userBase']['nickname'];
    
    ctx.params = {
        orderId,
        username,
        dzId: singleId
    }

    next()
}